package com.zzx.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 商品表(Goods)表实体类
 *
 * @author makejava
 * @since 2022-08-02 13:27:02
 */
@SuppressWarnings("serial")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("sp_goods")
public class Goods {
    //主键id
    @TableId
    private Long goodsId;
    //商品名称
    private String goodsName;
    //商品价格
    private Double goodsPrice;
    //商品数量
    private Integer goodsNumber;
    //商品重量
    private Double goodsWeight;
    //类型id
    private Object catId;
    //商品详情介绍
    private String goodsIntroduce;
    //图片logo大图
    private String goodsBigLogo;
    //图片logo小图
    private String goodsSmallLogo;
    //0:正常  1:删除
    private String isDel;
    //添加商品时间
    @TableField(fill = FieldFill.INSERT)
    private Long addTime;
    //修改商品时间
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updTime;
    //软删除标志字段
    private Long deleteTime;
    //一级分类id
    private Long catOneId;
    //二级分类id
    private Integer catTwoId;
    //三级分类id
    private Integer catThreeId;
    //热卖数量
    private Integer hotMumber;
    //是否促销
    private Integer isPromote;
    //商品状态 0: 未通过 1: 审核中 2: 已审核
    private Integer goodsState;



  
}

